package com.xingchen.feima.star;

import com.xingchen.feima.api.config.DefaultFeignConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = {"com.xingchen.feima"})
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.xingchen.feima.api.client", defaultConfiguration = DefaultFeignConfig.class)
public class FeimaStarApplication {
    public static void main(String[] args) {

        SpringApplication.run(FeimaStarApplication.class, args);
    }
}
